<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title></title>
</head>

<body>

	<html:form action="login" method="post" style="list-style-type:none;">
	
		<!-- lateral izquierdo -->
		<div style="float: left; width: 25%">&nbsp;</div>		
						
		<div style="float: left; width: 50%; border: thin solid #3B5997;">		
				
			<div class="cabeceraDiv">
				<bean:message key="login.acceso"/>
			</div>
			
			<div style="padding:10px;">
			
				<%-- En caso de que existan errores, los mostramos --%>
				<jsp:include page="/jsp/common/mensajesError.jsp"></jsp:include>
								
				<br/>
			
				<!-- email -->
				<div class="fieldwrapper">
					<label for="email" class="styled"><bean:message key="login.email" />:</label>
					<div class="thefield"> <html:text size="22" property="email" />*</div>
				</div>
				
				<!-- password -->
				<div class="fieldwrapper">
					<label for="password" class="styled"><bean:message key="login.password" />:</label>
					<div class="thefield"> <html:password size="22" property="password" />*</div>
				</div>
				
				<p>
					<html:submit styleClass="boton" value="Login" />
				</p>
				<p>
					<html:link styleClass="enlace" action="toForgotPassword">
						<bean:message key="login.forgot.pwd" />
					</html:link>
				</p>
				<p>
					<label>
						<bean:message key="login.question.registro" />
						<html:link action="toRegistroUsuario">
							<bean:message key="login.registrate" />
						</html:link>
					</label>
				</p>
			
			</div>					
		
		</div>	
	   
		<!-- lateral derecho -->
		<div style="float: left; width: 25%">&nbsp;</div>
			
	</html:form>


</body>

</html:html>
